package com.recruit.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.recruit.common.dto.shift.CreateOrUpdateShiftDTO;
import com.recruit.common.model.ShiftDO;

import java.util.List;

;

/**
 * <p>
 *  轮播图-服务类
 * </p>
 *
 * @author Eval
 * @since 2022-04-04
 */
public interface ShiftService extends IService<ShiftDO> {

    boolean createShift(CreateOrUpdateShiftDTO validator);

    boolean updateShift(ShiftDO shiftDO, CreateOrUpdateShiftDTO validator);

    boolean deleteById(Integer id);

    List<ShiftDO> getAll();

    List<ShiftDO> show();
}
